package com.itheima.test;

import lombok.Data;

@Data
public class Student {
    private String name;
    private char sex;
    private Double score;

    public Student(String name, char sex, Double score) {
        this.name = name;
        this.sex = sex;
        this.score = score;
    }

    public Student() {
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sex=" + sex +
                ", score=" + score +
                '}';
    }
}
